package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class Live implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 房间号
     *
     * @mbg.generated
     */
    private String room;

    /**
     * 用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 用户昵称
     *
     * @mbg.generated
     */
    private String nickname;

    /**
     * 用户头像
     *
     * @mbg.generated
     */
    private String headImg;

    /**
     * 直播推流
     *
     * @mbg.generated
     */
    private String stream;

    /**
     * flv协议拉流地址
     *
     * @mbg.generated
     */
    private String pullUrlFlv;

    /**
     * hls协议拉流地址
     *
     * @mbg.generated
     */
    private String pullUrlM3u8;

    /**
     * 是否真实 0 假 1真
     *
     * @mbg.generated
     */
    private Integer isFake;

    /**
     * 标题
     *
     * @mbg.generated
     */
    private String title;

    /**
     * 封面
     *
     * @mbg.generated
     */
    private String coverImg;

    /**
     * 点赞数
     *
     * @mbg.generated
     */
    private Integer likeSum;

    /**
     * 开播状态 1 未开播 2 开播
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 热度
     *
     * @mbg.generated
     */
    private String hot;

    /**
     * 是否推荐 0->不推荐 1->推荐
     *
     * @mbg.generated
     */
    private Integer isRecommend;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 主播类型
     *
     * @mbg.generated
     */
    private Integer type;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 开播时间
     *
     * @mbg.generated
     */
    private Date openTime;

    /**
     * 下播时间
     *
     * @mbg.generated
     */
    private Date closeTime;

    /**
     * 心跳时间
     *
     * @mbg.generated
     */
    private Date heartbeatTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream;
    }

    public String getPullUrlFlv() {
        return pullUrlFlv;
    }

    public void setPullUrlFlv(String pullUrlFlv) {
        this.pullUrlFlv = pullUrlFlv;
    }

    public String getPullUrlM3u8() {
        return pullUrlM3u8;
    }

    public void setPullUrlM3u8(String pullUrlM3u8) {
        this.pullUrlM3u8 = pullUrlM3u8;
    }

    public Integer getIsFake() {
        return isFake;
    }

    public void setIsFake(Integer isFake) {
        this.isFake = isFake;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public Integer getLikeSum() {
        return likeSum;
    }

    public void setLikeSum(Integer likeSum) {
        this.likeSum = likeSum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getHot() {
        return hot;
    }

    public void setHot(String hot) {
        this.hot = hot;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public Date getHeartbeatTime() {
        return heartbeatTime;
    }

    public void setHeartbeatTime(Date heartbeatTime) {
        this.heartbeatTime = heartbeatTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", room=").append(room);
        sb.append(", userId=").append(userId);
        sb.append(", nickname=").append(nickname);
        sb.append(", headImg=").append(headImg);
        sb.append(", stream=").append(stream);
        sb.append(", pullUrlFlv=").append(pullUrlFlv);
        sb.append(", pullUrlM3u8=").append(pullUrlM3u8);
        sb.append(", isFake=").append(isFake);
        sb.append(", title=").append(title);
        sb.append(", coverImg=").append(coverImg);
        sb.append(", likeSum=").append(likeSum);
        sb.append(", status=").append(status);
        sb.append(", hot=").append(hot);
        sb.append(", isRecommend=").append(isRecommend);
        sb.append(", sort=").append(sort);
        sb.append(", type=").append(type);
        sb.append(", createTime=").append(createTime);
        sb.append(", openTime=").append(openTime);
        sb.append(", closeTime=").append(closeTime);
        sb.append(", heartbeatTime=").append(heartbeatTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}